package com.yingjie.yingjieorder.service;


import com.yingjie.yingjieorder.dto.SubimtOrderDTO;
import com.yingjie.yingjieorder.model.Order;

import java.util.ArrayList;

/**
* @author Administrator
* @description 针对表【order(订单表)】的数据库操作Service
* @createDate 2025-03-09 15:15:02
*/
public interface OrderService  {

    Integer subimtOrder(SubimtOrderDTO subimtOrderDTO,Integer userId);

    ArrayList<Order> placeOrderList(Integer userId);

    Integer placeOrderListCount(Integer userId);

    Order getOrderDetail(Integer orderId);

    ArrayList<Order> acceptOrderList(Integer userId);

    Integer acceptOrderListCount(Integer userId);

    Integer acceptOrder(Integer orderId);

    Integer finishOrder(Integer orderId);
}
